#ifndef __NONCOPYABLE_H__
#define __NONCOPYABLE_H__

namespace wd
{
// 名字本身表达的含义就是不可复制
class Noncopyable
{
// 定义了 protected 构造函数的类称为抽象类
protected:
    Noncopyable()
    {

    }

    ~Noncopyable()
    {

    }

    Noncopyable(const Noncopyable & ) = delete;
    Noncopyable & operator = (const Noncopyable & ) = delete;

};

} // end of namespace wd

#endif

